//数字逆序

#include <stdio.h>
int main(){
	int num = 0;
	int bit = 0;
	int sum = 0;
	printf("输入一个数字：");
	scanf("%d",&num);

	bit = num;
	for(int i = 0 ; num > 0 ; i++ ){
		sum = sum * 10 + num % 10;
		num = num / 10;
	}
	printf("%d\n",sum);

	return 0;
}
